home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / misc / libx11inc.lha / X11 / Xm / MainW.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-13  |  1.8 KB  |  67 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
  3.  * ALL RIGHTS RESERVED
  4. */ 
  5. /*   $RCSfile: MainW.h,v $ $Revision: 1.18 $ $Date: 92/05/14 12:53:17 $ */
  6. /*
  7. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  8. #ifndef _XmMainWindow_h
  9. #define _XmMainWindow_h
  10.  
  11. #include <Xm/Xm.h>
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16.  
  17. #ifndef XmIsMainWindow
  18. #define XmIsMainWindow(w)    XtIsSubclass(w, xmMainWindowWidgetClass)
  19. #endif /* XmIsMainWindow */
  20.  
  21. externalref WidgetClass xmMainWindowWidgetClass;
  22.  
  23. typedef struct _XmMainWindowClassRec * XmMainWindowWidgetClass;
  24. typedef struct _XmMainWindowRec      * XmMainWindowWidget;
  25.  
  26.  
  27. /********    Public Function Declarations    ********/
  28. #ifdef _NO_PROTO
  29.  
  30. extern void XmMainWindowSetAreas() ;
  31. extern Widget XmMainWindowSep1() ;
  32. extern Widget XmMainWindowSep2() ;
  33. extern Widget XmMainWindowSep3() ;
  34. extern Widget XmCreateMainWindow() ;
  35.  
  36. #else
  37.  
  38. extern void XmMainWindowSetAreas( 
  39.                         Widget w,
  40.                         Widget menu,
  41.                         Widget command,
  42.                         Widget hscroll,
  43.                         Widget vscroll,
  44.                         Widget wregion) ;
  45. extern Widget XmMainWindowSep1( 
  46.                         Widget w) ;
  47. extern Widget XmMainWindowSep2( 
  48.                         Widget w) ;
  49. extern Widget XmMainWindowSep3( 
  50.                         Widget w) ;
  51. extern Widget XmCreateMainWindow( 
  52.                         Widget parent,
  53.                         char *name,
  54.                         ArgList args,
  55.                         int argCount) ;
  56.  
  57. #endif /* _NO_PROTO */
  58. /********    End Public Function Declarations    ********/
  59.  
  60.  
  61. #ifdef __cplusplus
  62. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  63. #endif
  64.  
  65. #endif /* _XmMainWindow_h */
  66. /* DON'T ADD ANYTHING AFTER THIS #endif */
  67.